
import httpInstance from '../utils/https'

export function getBannerAPI(distributionSite = '1') {
    return httpInstance({
        url:'/home/banner',
        params:{distributionSite}
    })
}

export function getNewAPI() {
    return httpInstance({
        url:'/home/new'
    })
}

export function getHotAPI() {
    return httpInstance({
        url:'/home/hot'
    })
}

export const getGoodsAPI = () => {
    return httpInstance({
        url:'/home/goods'
    })
}